package com.natsuki.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@TableName("tuser")
public class Tuser {

    //自增主键
    @TableId(value = "ID",type = IdType.INPUT)
    private Long id;

    @TableField("USER_NAME")
    private String userName;

    @TableField("PASSWORD")
    private String password;

    @TableField("NAME")
    private String name;

    @TableField("AGE")
    private Integer age;

    @TableField("EMAIL")
    private String email;

    @TableField("BIRTHDAY")
    private Date birthday;
}
